<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改出库单据子表')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-viewTmsCk-edit" th:object="${viewTmsCk}">
<!--            <input name="truckNumber" th:field="*{truckNumber}" type="hidden" readonly>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">车次编码：</label>
                <div class="col-sm-8">
                    <input name="truckNumber" th:field="*{truckNumber}" class="form-control" type="text" readonly>
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">装车卡位：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="loadingPosition" th:field="*{loadingPosition}" class="form-control" type="text" >-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">
                <label class="col-sm-3 control-label">单据编号：</label>
                <div class="col-sm-8">
                    <input name="waybillNumber" th:field="*{waybillNumber}" class="form-control" type="text" readonly>
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">erp单据编号：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="waybillItemId" th:field="*{waybillItemId}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">物料号：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="productNumber" th:field="*{productNumber}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">物料名称：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="productName" th:field="*{productName}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">
                <label class="col-sm-3 control-label">出库顺序：</label>
                <div class="col-sm-8">
                    <input name="outOrder" th:field="*{outOrder}" class="form-control" type="text">
                </div>
            </div>
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">销售订单号：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="orderNumber" th:field="*{orderNumber}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">订单行ID：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="orderItemId" th:field="*{orderItemId}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">物料编码：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="productId" th:field="*{productId}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">出库数量：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="quantity" th:field="*{quantity}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">分配数量：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="allotQuantity" th:field="*{allotQuantity}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">单位：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="unit" th:field="*{unit}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">特殊库存标识：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="stockFlag" th:field="*{stockFlag}" class="form-control" type="text" readonly>-->
<!--                </div>-->
<!--            </div>-->
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "viewTmsCk/viewTmsCk";
        $("#form-viewTmsCk-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-viewTmsCk-edit').serialize());
            }
        }
    </script>
</body>
</html>